package com.ustcinfo.ishare.kafka.monitor.bean;

/**
 * Created by Shinelon on 2018/3/29.
 */
public class BrokerInfo {
    private Integer id;
    private String host;
    private Integer port;
    /**
     * 1 :活动
     * 0 :死亡
     */
    private Integer status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "BrokerInfo{" +
                "id=" + id +
                ", host='" + host + '\'' +
                ", port=" + port +
                ", status='" + status + '\'' +
                '}';
    }
}
